package com.sunny.fetch.mapper;

import com.sunny.fetch.pojo.FBlockTrade;
import com.sunny.fetch.pojo.FBlockTradeExample;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface FBlockTradeMapper extends Mapper<FBlockTrade>, InsertListMapper<FBlockTrade> {
    long countByExample(FBlockTradeExample example);

    int deleteByExample(FBlockTradeExample example);

    List<FBlockTrade> selectByExample(FBlockTradeExample example);

    int updateByExampleSelective(@Param("record") FBlockTrade record, @Param("example") FBlockTradeExample example);

    int updateByExample(@Param("record") FBlockTrade record, @Param("example") FBlockTradeExample example);
}